package itsm.isperp.module.entity.db;

import itsm.isperp.framework.domain.IBean;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "db_data_backup_log")
public class DbDataBackupLog implements IBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Id
	String id;
	@Column
	Timestamp createDate;
	@Column
	int fileSize;
	@Column
	String fileName;
	@Column
	String filePath;

	@Override
	public String getId() {
		return id;
	}

	@Override
	public void setId(String id) {
		this.id = id;
	}

	public Timestamp getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public int getFileSize() {
		return fileSize;
	}

	public void setFileSize(int fileSize) {
		this.fileSize = fileSize;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

}
